home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Treccani Italiana Di Scienze Lettere Ed Arti
/
[Enciclopedia] Treccani Italiana di scienze lettere ed arti.iso
/
pc
/
data
/
xxi_appendice_dvd.swf
/
scripts
/
__Packages
/
mx
/
utils
/
Delegate.as
next >
Wrap
Text File
|
2007-11-08
|
541b
|
25 lines
class mx.utils.Delegate extends Object
{
function Delegate(f)
{
super();
this.func = f;
}
static function create(obj, func)
{
var _loc2_ = function()
{
var _loc2_ = arguments.callee.target;
var _loc3_ = arguments.callee.func;
return _loc3_.apply(_loc2_,arguments);
};
_loc2_.target = obj;
_loc2_.func = func;
return _loc2_;
}
function createDelegate(obj)
{
return mx.utils.Delegate.create(obj,this.func);
}
}